package com.example.demo.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.format.DateTimeFormatter;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime;

/**
 * 
 * @TableName db_elderly_service
 */
@TableName(value ="db_elderly_service")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ElderlyService implements Serializable {
    /**
     * 主键
     */
    @TableId
    private Long id;

    /**
     * 服务id
     */
    private Long serviceId;

    /**
     * 老年人id
     */
    private Long elderlyId;

    /**
     * 关联建立时间
     */
    private LocalDateTime createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}